var express = require('express');
var rightController = require('../controllers/rightController');
var router = express.Router();

/* GET rights listing. */
router.get('/adminapi/rights', rightController.getList);

router.put('/adminapi/rights', rightController.update);

router.delete('/adminapi/rights', rightController.delete);

module.exports = router;